﻿using System.ComponentModel;
using CozeDomain.Base;
using FreeSql.DataAnnotations;

namespace CozeDomain.Entities
{
    /// <summary>
    /// 代码生成器模型
    /// </summary>
    [Table(Name = "SysCodeBuilder")]
    [Description("代码生成器模型")]
    public class SysCodeBuilderEntity : BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Column(DbType = "varchar", StringLength = 18, IsNullable = false)]
        [Description("名称")]
        public string? Name { get; set; } 

        /// <summary>
        /// 描述
        /// </summary>
        [Column(DbType = "varchar", StringLength = 500, IsNullable = true)]
        [Description("描述")]
        public string? Description { get; set; }
    }
}
